<?php
if (!defined('IN_ZWS')) exit();

class LogViewModel extends ViewModel {
	public $viewFields = array('UserLog' => array('id', 'uid', 'type', 'ip', 'time', 'status', '_type' => "LEFT"),
		'User' => array('username', 'cptime', '_on' => 'UserLog.uid = User.id', '_type' => "LEFT"),
		'UserInfo' => array('avatar',  '_on' => 'UserLog.uid = UserInfo.uid', '_type' => "LEFT"),
		);
}
